package me.zhengjie.modules.shop.domain.resp;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import me.zhengjie.modules.shop.domain.ProductKind;

import java.math.BigDecimal;
import java.util.List;

@Data
public class ProductResp {

    @ApiModelProperty(value = "商品id")
    private Long id;

    @ApiModelProperty(value = "商品大类id")
    private Long moduleId;

    @ApiModelProperty(value = "商品名称")
    private String name;

    @ApiModelProperty(value = "商品封面图")
    private String cover;

    @ApiModelProperty(value = "商品最低价格【商城中展示】")
    private BigDecimal minPrice;

    @ApiModelProperty(value = "商品运费")
    private BigDecimal fee;

    @ApiModelProperty(value = "商品简介")
    private String intro;

    @ApiModelProperty(value = "总销量")
    private Integer sold;

    @ApiModelProperty(value = "总库存")
    private Integer totalStock;

    @ApiModelProperty(value = "图片资源【商品的图片】")
    private String resources;

    @ApiModelProperty(value = "描述")
    private String remark;

    @ApiModelProperty(value = "商品种类")
    private List<ProductKind> kinds;

}
